//
//  NSMutableArray+Cool.m
//  CoolFramework
//
//  Created by Felix on 13-3-29.
//  Copyright (c) 2013年 Xue Fei. All rights reserved.
//

#import "NSMutableArray+Cool.h"

@implementation NSMutableArray (Cool)

- (void)addObject:(id)anObject defaultValue:(id)defaultValue {
    if (anObject) {
        [self addObject:anObject];
    } else if (defaultValue) {
        [self addObject:defaultValue];
    }
}

@end
